package com.dao;

import java.util.List;

import com.bean.SuinRegister;

public interface SuinRegisterDao {

	public abstract void save(SuinRegister transientInstance);

	public abstract void delete(SuinRegister persistentInstance);

	public abstract SuinRegister findById(java.lang.Integer id);

	public abstract List findByExample(SuinRegister instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findBySuinName(Object suinName);

	public abstract List findBySuinPass(Object suinPass);

	public abstract List findByRealName(Object realName);

	public abstract List findBySuinCode(Object suinCode);

	public abstract List findByAddress(Object address);

	public abstract List findByPhone(Object phone);

	public abstract List findByEmail(Object email);

	public abstract List findByState(Object state);

	public abstract List findByLoginCount(Object loginCount);

	public abstract List findAll();
	
	public abstract SuinRegister findSuinName(String suinName);
	
	/**
	 * @param detachedInstance
	 * @return
	 */
	public abstract Boolean getName(String name);
	
	public abstract SuinRegister merge(SuinRegister detachedInstance);

	public abstract void attachDirty(SuinRegister instance);

	public abstract void attachClean(SuinRegister instance);
	
	public List<SuinRegister> getFindSuinRegister(String table, String pk,String sort, int PageNumber, int PageSize, String options);
     
	
}